<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page import = "atae.apli.contexto.*" %>
<%@ taglib prefix="nacar" uri="/qnpl_mult_mult_jsp/tld/ctag.tld" %>
<%@ include file="/atcl_mult_mult_jsp/contenedores.jsp"%>
<% request.setAttribute("utils",utils); %>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title><nacar:etiqueta texto="Intermediario" monoidioma="false"/></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <%=escribirPlugIn(utils)%>
  <% 

    String ALIASKEON="keon_mult_mult_pub";
    String ALIASICSE="icse_pe_web_pub";
    String imagesDisabledDoc="false";
    System.out.println("Estamos en la ventana Intermediario");

    boolean isPopup = false;
    java.lang.String cod_cuestionario =  utils.getRequest().getParameter("COD_CUESTIONARIO");
    java.lang.String flujo =  utils.getFlujoID()+utils.getCteSeparador()+utils.getVentana();
    String VARIABLE01 = utils.getRequest().getParameter("VARIABLE01");
    String VARIABLE02 = utils.getRequest().getParameter("VARIABLE02");
    String VARIABLE03 = utils.getRequest().getParameter("VARIABLE03");
    String VARIABLE04 = utils.getRequest().getParameter("VARIABLE04");
    String VARIABLE05 = utils.getRequest().getParameter("VARIABLE05");
    String VARIABLE06 = utils.getRequest().getParameter("VARIABLE06");
    String VARIABLE07 = utils.getRequest().getParameter("VARIABLE07");
    String VARIABLE08 = utils.getRequest().getParameter("VARIABLE08");
    String VARIABLE09 = utils.getRequest().getParameter("VARIABLE09");
    String VARIABLE10 = utils.getRequest().getParameter("VARIABLE10");
    
    if( (cod_cuestionario != null && cod_cuestionario.length() > 0) ||
        (VARIABLE01 != null && VARIABLE01.length()>0) ||
        (VARIABLE02 != null && VARIABLE02.length()>0) ||
        (VARIABLE03 != null && VARIABLE03.length()>0) ||
        (VARIABLE04 != null && VARIABLE04.length()>0) ||
        (VARIABLE05 != null && VARIABLE05.length()>0) ||
        (VARIABLE06 != null && VARIABLE06.length()>0) ||
        (VARIABLE07 != null && VARIABLE07.length()>0) ||
        (VARIABLE08 != null && VARIABLE08.length()>0) ||
        (VARIABLE09 != null && VARIABLE09.length()>0) ||
        (VARIABLE10 != null && VARIABLE10.length()>0) ){
      isPopup = true;
    }else{
      cod_cuestionario = "";
      flujo = utils.getFlujoID();
    }
    System.out.println("isPopup: "+isPopup);
  %>
    <!-- JavaScript Arquitectura -->
      <% if(!utils.isInternetExplorer()) { %>
        <link rel="stylesheet" href="/<%=ALIASKEON%>/estilos/NacarFF1024v02.css" type="text/css">
      <% } else { %>
        <link rel="stylesheet" href="/<%=ALIASKEON%>/estilos/NacarIE1024v02.css" type="text/css">
      <% } %>
      <script type="text/javascript" src="/atcl_es_web_pub/js/utils.js"></script>
      <script type="text/javascript" src="/qnpl_es_web_pub/js/ctag.js"></script>
      <script type="text/javascript" src="/<%=ALIASKEON%>/js/jquery.js"></script>
      <script type="text/javascript" src="/<%=ALIASICSE%>/js/utilitarios.js"></script>
    <!-- JavaScript ICSE -->
  </head>
  <body onload="document.ICSEVE01010.submit();controlSesion();<% if (utils.getPaginaModoMensaje() != getCteServicioOK()) {%> mostrarMensajes(tipoMensajes,paramMensajes)<%}%>" bgcolor="#FFFFFF">
    <customform> 
    <form name="ICSEVE01010" id="ICSEVE01010" action="<%=utils.getDestinoFormulario()%>" method="POST" target="" ayudarapida="">
      <input type="hidden" name="evento" id="evento" value="0X3C0100A">
      <input type="hidden" name="ventana" id="ventana" value="<%=utils.getVentana()%>">
      <input type="hidden" name="flujo" id="flujo" value="<%=flujo%>">
      <input type="hidden" name="hdCOD_CUESTIONARIO" value="<%=cod_cuestionario%>">
      <input type="hidden" name="hdVARIABLE01" value="<%=VARIABLE01%>">
      <input type="hidden" name="hdVARIABLE02" value="<%=VARIABLE02%>">
      <input type="hidden" name="hdVARIABLE03" value="<%=VARIABLE03%>">
      <input type="hidden" name="hdVARIABLE04" value="<%=VARIABLE04%>">
      <input type="hidden" name="hdVARIABLE05" value="<%=VARIABLE05%>">
      <input type="hidden" name="hdVARIABLE06" value="<%=VARIABLE06%>">
      <input type="hidden" name="hdVARIABLE07" value="<%=VARIABLE07%>">
      <input type="hidden" name="hdVARIABLE08" value="<%=VARIABLE08%>">
      <input type="hidden" name="hdVARIABLE09" value="<%=VARIABLE09%>">
      <input type="hidden" name="hdVARIABLE10" value="<%=VARIABLE10%>">
      <% if(isPopup){ %>
        Cargando...<br><br>
        Espere un momento, por favor.
      <% } %>
    </form>
  </body>
</html>